import request from '@/hooks/request'

const Api = {
  // filmIdentifyList: '/film/identify/filmIdentifyList', // 识别记录列表
  filmIdentifyList: '/film/identify/getFilmIdentifyList', // 识别记录列表
  quotationRuleVerify: '/platform/quotationRule/quotationRuleVerify',
}

export const filmIdentifyList = (parameter: Record<any, any>) => {
  return request({
    method: 'post',
    url: Api.filmIdentifyList,
    data: parameter,
  })
}


export const quotationRuleVerify = (parameter: Record<any, any>) => {
  const formData = new FormData()
  formData.append('taskId', parameter.taskId)
  return request({
    method: 'post',
    url: Api.quotationRuleVerify,
    data: formData,
  })
}
